<template>
  <div class="navs">
    <div class="left"><slot name="left"></slot></div>
    <div class="center"><slot name="center"></slot></div>
    <div class="right"><slot name="right"></slot></div>
  </div>
</template>
<script>
export default {
  name: 'navs',
  data: () => ({})
}
</script>
<style scoped>
.navs {
  display: flex;
  height: 44px;
  line-height: 44px;
  color: #fff;
  background-color: var(--color-tint);

  position: sticky;
  top: 0;
  z-index: 9;
}
.left,
.right {
  width: 60px;
}
.center {
  flex: 1;
  text-align: center;
}
</style>